949eeb8d08f82757cbfc1d421dc98124abf6680c,catalog/spatial/registry/registry-schema-bindings/src/test/java/org/codice/ddf/registry/schemabindings/helper/InternationalStringTypeHelperTest.java,InternationalStringTypeHelperTest,testGetStringWithNoMatchingLocale,#,74
Before Change
@Test
public void testGetStringWithNoMatchingLocale() throws Exception {
InternationalStringType ist = getTestInternationalStringType();
istHelper.setLocale(Locale.CHINA);
String istString = istHelper.getString(ist);
assertThat(istString, is(equalTo(EMPTY_STRING)));
After Change
public void testGetStringWithNoMatchingLocale() throws Exception {
InternationalStringType ist = getTestInternationalStringType();
// Ensure that we're adding an unknown locale and not the default system locale
if (Locale.getDefault() == Locale.CHINA) {
istHelper.setLocale(Locale.KOREA);
} else {
istHelper.setLocale(Locale.CHINA);
}
String istString = istHelper.getString(ist);